<a href=<selection>"/some/ref/foo&amp;b<caret>ar"</selection>>jdjfkd</a>